<?php

class Winkgreeting_Form_Confirmwink extends Engine_Form {
	public function init() {
		$this->setTitle ( 'Send Wink' )->setDescription ( 'Would you like to send wink to this member?' )->setAttrib ( 'class', 'global_form_popup' )->setAction ( $_SERVER ['REQUEST_URI'] );
		
		$this->addElement ( 'Button', 'submit', array ('label' => 'Send Wink', 'type' => 'submit', 'ignore' => true, 'decorators' => array ('ViewHelper' ) ) );
		
		$this->addElement ( 'Cancel', 'cancel', array ('label' => 'cancel', 'link' => true, 'prependText' => ' or ', 'href' => '', 'onclick' => 'parent.Smoothbox.close();', 'decorators' => array ('ViewHelper' ) ) );
		$this->addDisplayGroup ( array ('submit', 'cancel' ), 'buttons' );
		$button_group = $this->getDisplayGroup ( 'buttons' );
	}
}